<?php

namespace App\Trip\Plane\Interfaces\Factories;

use App\Trip\Enums\Plane\PlaneProviders;
use App\Trip\Plane\Interfaces\PlaneOrderInterface;

interface PlaneOrderFactoryInterface
{
    public function findOneByProvider(PlaneProviders $provider): PlaneOrderInterface;

    /**
     * 51book 订单业务工厂
     * @return PlaneOrderInterface
     */
    public function Book51Order(): PlaneOrderInterface;

    /**
     * qunar 订单业务工厂
     * @return PlaneOrderInterface
     */
    public function QunarOrder(): PlaneOrderInterface;
}